<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="/searchBooks">
    图书名称：<input type="text" name="name" ><br>
    图书类别：<input type="text" name="category" ><br>
    图书作者：<input type="text" name="author" ><br>
    <input type="submit" value="搜索">
</form>
    <table border="1">
        <tr th:each="book:${books}">
            <td th:text="${book.id}"></td>
            <td th:text="${book.name}"></td>
            <td th:text="${book.price}"></td>
            <td th:text="${book.category}"></td>
            <td th:text="${book.pnum}"></td>
            <td th:text="${book.imgurl}"></td>
            <td th:text="${book.description}"></td>
            <td th:text="${book.author}"></td>
            <td th:text="${book.sales}"></td>
        </tr>
    </table>
</body>
</html>